package org.jeecg.modules.contract.pattern.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 版样更改管理
 * @Author: jeecg-boot
 * @Date:   2024-05-27
 * @Version: V1.0
 */
@ApiModel(value="erp_goods_pattern对象", description="版样更改管理")
@Data
@TableName("erp_goods_pattern")
public class ErpGoodsPattern implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**编号*/
	@Excel(name = "编号", width = 15)
    @ApiModelProperty(value = "编号")
    private String code;
	/**物料id*/
	@Excel(name = "物料id", width = 15)
    @ApiModelProperty(value = "物料id")
    private String materielId;
	/**标识*/
	@Excel(name = "标识", width = 15)
    @ApiModelProperty(value = "标识")
    private String mark;
	/**年份(2位)*/
	@Excel(name = "年份(2位)", width = 15)
    @ApiModelProperty(value = "年份(2位)")
    private String year;
	/**排产单号(4位)*/
	@Excel(name = "排产单号(4位)", width = 15)
    @ApiModelProperty(value = "排产单号(4位)")
    private String orderNumber;
	/**包装形式(1位)*/
	@Excel(name = "包装形式(1位)", width = 15)
    @ApiModelProperty(value = "包装形式(1位)")
    private String packaType;
	/**包装规格(2位)*/
	@Excel(name = "包装规格(2位)", width = 15)
    @ApiModelProperty(value = "包装规格(2位)")
    private String packSpec;
	/**版本号(2位)*/
	@Excel(name = "版本号(2位)", width = 15)
    @ApiModelProperty(value = "版本号(2位)")
    private String version;
	/**改版内容*/
	@Excel(name = "改版内容", width = 15)
    @ApiModelProperty(value = "改版内容")
    private String revisedContent;
	/**改版时间*/
	@Excel(name = "改版时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "改版时间")
    private Date revisedTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
}
